package com.threefish.modules.sys.entity.history;

import com.threefish.common.entity.AbstractBaseEntity;
import org.nutz.dao.entity.annotation.*;

import java.sql.Timestamp;

/**
 * Created with IntelliJ IDEA.
 * User: 黄川
 * Date Time: 2017/7/2515:22
 */

@Table("sys_error_log_history")
@Comment("系统错误日志")
public class ErrorLogHistory extends AbstractBaseEntity {
    @Id
    private int id;
    @Column
    private String userid;
    @Column
    private String userDesc;
    @Column
    private Timestamp ct;
    @Column
    @ColDefine(width = 300)
    private String path;
    @Column
    @ColDefine(width = 2000)
    private String errorMsg;
    @Column
    @ColDefine(type = ColType.TEXT)
    private String errorMsgInfo;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserDesc() {
        return userDesc;
    }

    public void setUserDesc(String userDesc) {
        this.userDesc = userDesc;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Timestamp getCt() {
        return ct;
    }

    public void setCt(Timestamp ct) {
        this.ct = ct;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getErrorMsgInfo() {
        return errorMsgInfo;
    }

    public void setErrorMsgInfo(String errorMsgInfo) {
        this.errorMsgInfo = errorMsgInfo;
    }
}
